package github.sf.fw.tools.db.impl.mysql;


import github.sf.fw.tools.db.DSProperty;
import github.sf.fw.tools.db.impl.RdbmsTableDataWriter;
import github.sf.fw.tools.db.model.TableInfo;

public class MysqlDataWriter extends RdbmsTableDataWriter {
    public MysqlDataWriter(DSProperty dsProperty) {
        super(dsProperty);
    }

    @Override
    public boolean createTable(TableInfo tableInfo) {
        String ddl = createDDL(tableInfo, tableInfo.getTableExtraInfo().getTargetTableName());
        return executeDDL(ddl);
    }
}
